package com.gyg.dao;

import com.gyg.entity.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * InnoDB free: 11264 kB Mapper 接口
 * </p>
 *
 * @author 关注公众号：码猿编程日记
 * @since 2021-09-21
 */
@Mapper
@Repository
public interface IBlogDao {

    List<Blog> list();

    Blog  getOne(Long id);

    Integer save(Map<String,Object> param);

    Integer update(Map<String,Object> param);

    Integer delete(Long id);

    Integer blogCount();
}
